package com.study.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PermissionVo {
    /**
     * 权限ID
     */
    private Integer permissionId;
    /**
     * 权限名称
     */
    private String permissionName;
    /**
     * 资源链接地址
     */
    private String href;
    /**
     * 权限级别
     */
    private Integer level;
    /**
     * 父级权限ID
     */
    private Integer parentId;

    private String icon;

    /**
     * 子级菜单
     */
    List<PermissionVo> subPermission;
}
